create or replace
TRIGGER MELEE_WEAPONS_TRIGGER
BEFORE INSERT ON MELEE_WEAPONS
FOR EACH ROW WHEN (NEW.MELEE_WEAPON_ID IS NULL)
BEGIN 
	SELECT MELEE_WEAPONS_SEQ.NEXTVAL 
	INTO :NEW.MELEE_WEAPON_ID 
	FROM DUAL;
END;